var bgW = $(window).width();
bgW = 640;
var bgH = $(window).height();
$(function() {

	$("#gameView,#bg,#lastimg").attr({
		"width": bgW,
		"height": bgH
	});

	var music = false;
	var yinyue = function() {
		if(music == false) {
			$("#tubiao").attr("src","image/play.png");
			music = true;
			shengyin.play();
		} else {
			$("#tubiao").attr("src","image/stop.png")
			music = false;
			shengyin.pause();
		}
	}
	$("#tubiao").click(function() {
		yinyue();

	})

})